package com.anbow.courseware.mapper;

import com.anbow.courseware.entity.DO.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author zhaoYuFei
 */
@Mapper
public interface UserMapper {
    /**
     * 登录验证
     *
     * @param user 登录人用户信息
     * @return 返回null则不存在
     */
    User login(User user);
}
